﻿<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>我的拼单详情 - 模切材料小管家</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            /* TDesign 工业品色彩系统 */
            --primary-color: #0052d9;
            --primary-light: #266fe8;
            --primary-dark: #003cab;
            --secondary-color: #f2f3ff;
            --accent-color: #e37318;
            --success-color: #00a870;
            --warning-color: #ed7b2f;
            --error-color: #d54941;
            
            /* 背景色系 */
            --bg-color-page: #f5f7fa;
            --bg-color-container: #ffffff;
            --bg-color-secondray: #f8f9fc;
            
            /* 边框和分割线 */
            --border-color: #e7e7e7;
            --border-color-light: #f0f0f0;
            --border-radius-small: 3px;
            --border-radius-medium: 6px;
            --border-radius-large: 9px;
            
            /* 文字色彩 */
            --text-primary: #1a1a1a;
            --text-secondary: #4e5969;
            --text-placeholder: #86909c;
            --text-disabled: #c9cdd4;
            
            /* 阴影系统 */
            --shadow-1: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-2: 0 1px 4px 0 rgba(0, 0, 0, 0.08);
            --shadow-3: 0 4px 8px 0 rgba(0, 0, 0, 0.12);
            
            /* 间距系统 */
            --space-1: 4px;
            --space-2: 8px;
            --space-3: 12px;
            --space-4: 16px;
            --space-5: 20px;
            --space-6: 24px;
            --space-8: 32px;
            --space-10: 40px;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        }
        
        body {
            background-color: var(--bg-color-page);
            color: var(--text-primary);
            font-size: 14px;
            line-height: 1.5;
            padding-bottom: 120px;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        
        .container {
            max-width: 480px;
            margin: 0 auto;
            background: var(--bg-color-container);
            min-height: 100vh;
            box-shadow: var(--shadow-1);
            position: relative;
            overflow-x: hidden;
        }
        
        /* 头部样式 - TDesign 简约风格 */
        .header {
            background: var(--primary-color);
            color: white;
            padding: var(--space-4) var(--space-4) var(--space-5);
            position: relative;
            z-index: 10;
        }
        
        .top-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: var(--space-4);
        }
        
        .back-btn {
            font-size: 18px;
            cursor: pointer;
            opacity: 0.9;
            transition: opacity 0.2s ease;
        }
        
        .back-btn:hover {
            opacity: 1;
        }
        
        .page-title {
            font-weight: 500;
            font-size: 16px;
        }
        
        .actions {
            display: flex;
            gap: var(--space-5);
        }
        
        .actions i {
            font-size: 16px;
            cursor: pointer;
            opacity: 0.9;
            transition: opacity 0.2s ease;
        }
        
        .actions i:hover {
            opacity: 1;
        }
        
        /* 拼单信息 - TDesign 简约风格 */
        .group-info {
            padding: var(--space-5) var(--space-4);
        }
        
        .info-section {
            background: var(--bg-color-container);
            border-radius: var(--border-radius-medium);
            margin-bottom: var(--space-4);
            box-shadow: var(--shadow-1);
            overflow: hidden;
            border: 1px solid var(--border-color-light);
        }
        
        .section-header {
            padding: var(--space-4);
            border-bottom: 1px solid var(--border-color-light);
            background: var(--bg-color-secondray);
        }
        
        .section-title {
            font-size: 14px;
            font-weight: 500;
            color: var(--text-primary);
            display: flex;
            align-items: center;
        }
        
        .section-title i {
            margin-right: var(--space-2);
            color: var(--primary-color);
            font-size: 14px;
        }
        
        .section-content {
            padding: var(--space-4);
        }
        
        .info-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--space-4);
            margin-bottom: var(--space-4);
        }
        
        .info-item {
            display: flex;
            flex-direction: column;
        }
        
        .info-label {
            color: var(--text-placeholder);
            font-size: 12px;
            margin-bottom: var(--space-1);
        }
        
        .info-value {
            color: var(--text-primary);
            font-size: 14px;
            font-weight: 500;
        }
        
        /* 查看技术参数按钮 - TDesign 简约风格 */
        .tech-params-btn {
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: var(--border-radius-medium);
            padding: var(--space-2) var(--space-5);
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            margin-top: var(--space-2);
        }
        
        .tech-params-btn:hover {
            background: var(--primary-light);
        }
        
        /* 参与者区域 - TDesign 简约风格 */
        .participants-section {
            background: var(--bg-color-container);
            border-radius: var(--border-radius-medium);
            margin: var(--space-5) 0;
            box-shadow: var(--shadow-1);
            overflow: hidden;
            border: 1px solid var(--border-color-light);
        }
        
        .participants-header {
            padding: var(--space-4);
            border-bottom: 1px solid var(--border-color-light);
            background: var(--bg-color-secondray);
        }
        
        .participants-title {
            font-size: 14px;
            font-weight: 500;
            color: var(--text-primary);
            display: flex;
            align-items: center;
        }
        
        .participants-title i {
            margin-right: var(--space-2);
            color: var(--primary-color);
            font-size: 14px;
        }
        
        .participants-badge {
            background: var(--accent-color);
            color: white;
            font-size: 10px;
            padding: var(--space-1) var(--space-2);
            border-radius: var(--border-radius-small);
            margin-left: var(--space-2);
        }
        
        .participants-content {
            padding: var(--space-4);
            max-height: 300px;
            overflow-y: auto;
        }
        
        .participant-item {
            display: flex;
            align-items: center;
            padding: var(--space-2) 0;
            border-bottom: 1px solid var(--border-color-light);
        }
        
        .participant-item:last-child {
            border-bottom: none;
        }
        
        .participant-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: var(--primary-color);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 500;
            font-size: 12px;
            margin-right: var(--space-2);
            flex-shrink: 0;
        }
        
        .participant-info {
            flex: 1;
            min-width: 0;
        }
        
        .participant-name {
            font-size: 12px;
            font-weight: 500;
            color: var(--text-primary);
            margin-bottom: var(--space-1);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .participant-details {
            font-size: 11px;
            color: var(--text-placeholder);
            line-height: 1.3;
        }
        
        .participant-time {
            font-size: 10px;
            color: var(--text-placeholder);
            text-align: right;
            min-width: 80px;
        }
        
        .initiator-tag {
            background: var(--warning-color);
            color: white;
            font-size: 8px;
            padding: 2px 4px;
            border-radius: var(--border-radius-small);
            margin-left: var(--space-1);
            font-weight: 500;
        }
        
        /* 底部操作栏 - TDesign 简约风格 */
        .bottom-actions {
            position: fixed;
            bottom: 64px;
            left: 0;
            right: 0;
            background: var(--bg-color-container);
            padding: var(--space-4);
            border-top: 1px solid var(--border-color-light);
            display: flex;
            gap: var(--space-2);
            z-index: 100;
            max-width: 480px;
            margin: 0 auto;
        }
        
        .btn {
            flex: 1;
            padding: var(--space-3);
            border: none;
            border-radius: var(--border-radius-medium);
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .btn-secondary {
            background: var(--bg-color-secondray);
            color: var(--text-secondary);
            border: 1px solid var(--border-color-light);
        }
        
        .btn-secondary:hover {
            background: var(--border-color-light);
        }
        
        .btn-primary {
            background: var(--primary-color);
            color: white;
        }
        
        .btn-primary:hover {
            background: var(--primary-light);
        }
        
        .btn-danger {
            background: var(--error-color);
            color: white;
        }
        
        .btn-danger:hover {
            background: #c0392b;
        }
        
        /* 底部导航栏 - TDesign 简约风格 */
        .tabbar {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: var(--bg-color-container);
            border-top: 1px solid var(--border-color);
            display: flex;
            z-index: 100;
            max-width: 480px;
            margin: 0 auto;
            height: 64px;
        }
        
        .tab-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: var(--space-2) 0;
            cursor: pointer;
            transition: color 0.2s ease;
            color: var(--text-placeholder);
        }
        
        .tab-item.active {
            color: var(--primary-color);
        }
        
        .tab-item:hover {
            color: var(--primary-light);
        }
        
        .tab-item i {
            font-size: 18px;
            margin-bottom: var(--space-1);
        }
        
        .tab-item span {
            font-size: 10px;
        }
    </style>
</head>
<body>
    <div class="container">
        <!-- 头部区域 -->
        <div class="header">
            <div class="top-bar">
                <div class="back-btn" onclick="history.back()">
                    <i class="fas fa-arrow-left"></i>
                </div>
                <div class="page-title">我的拼单详情</div>
                <div class="actions">
                    <i class="fas fa-edit" onclick="editGroup()"></i>
                </div>
            </div>
        </div>
        
        <!-- 拼单信息 -->
        <div class="group-info">
            <!-- 内容信息 -->
            <div class="info-section">
                <div class="section-header">
                    <div class="section-title">
                        <i class="fas fa-info-circle"></i>
                        <span>内容信息</span>
                    </div>
                </div>
                <div class="section-content">
                    <div class="info-grid">
                        <div class="info-item">
                            <div class="info-label">产品类别:</div>
                            <div class="info-value">光学胶</div>
                        </div>
                        <div class="info-item">
                            <div class="info-label">产品名称:</div>
                            <div class="info-value">OCA光学胶</div>
                        </div>
                        <div class="info-item">
                            <div class="info-label">型号:</div>
                            <div class="info-value">OCA-001</div>
                        </div>
                        <div class="info-item">
                            <div class="info-label">规格/数量:</div>
                            <div class="info-value">2000平方米</div>
                        </div>
                        <div class="info-item">
                            <div class="info-label">所在地:</div>
                            <div class="info-value">浙江杭州</div>
                        </div>
                        <div class="info-item">
                            <div class="info-label">总量:</div>
                            <div class="info-value">2000平方米</div>
                        </div>
                    </div>
                    
                    <div class="info-item" style="grid-column: 1 / -1;">
                        <div class="info-label">备注:</div>
                        <div class="info-value">高品质OCA光学胶，适用于触摸屏和显示屏贴合，透光率92%以上，无气泡，耐高温，粘性强。本次拼单采购量大，价格优惠，欢迎有需求的厂家参与。</div>
                    </div>
                    
                    <button class="tech-params-btn">
                        <i class="fas fa-file-pdf"></i> 查看技术参数
                    </button>
                </div>
            </div>
            
            <!-- 参与者区域 -->
            <div class="participants-section">
                <div class="participants-header">
                    <div class="participants-title">
                        <i class="fas fa-users"></i>
                        <span>拼单</span>
                        <span class="participants-badge">6</span>
                    </div>
                </div>
                <div class="participants-content">
                    <div class="participant-item">
                        <div class="participant-avatar">
                            <i class="fas fa-user"></i>
                        </div>
                        <div class="participant-info">
                            <div class="participant-name">张经理<span class="initiator-tag">发起人</span></div>
                            <div class="participant-details">手机号: 13800138888 | 公司: 杭州光学材料有限公司</div>
                        </div>
                        <div class="participant-time">2024-01-15 14:30</div>
                    </div>
                    
                    <div class="participant-item">
                        <div class="participant-avatar">
                            <i class="fas fa-user"></i>
                        </div>
                        <div class="participant-info">
                            <div class="participant-name">李总</div>
                            <div class="participant-details">手机号: 13900139999 | 公司: 苏州胶粘制品厂</div>
                        </div>
                        <div class="participant-time">2024-01-16 09:30</div>
                    </div>
                    
                    <div class="participant-item">
                        <div class="participant-avatar">
                            <i class="fas fa-user"></i>
                        </div>
                        <div class="participant-info">
                            <div class="participant-name">王总</div>
                            <div class="participant-details">手机号: 13700137777 | 公司: 深圳光学科技有限公司</div>
                        </div>
                        <div class="participant-time">2024-01-16 14:20</div>
                    </div>
                    
                    <div class="participant-item">
                        <div class="participant-avatar">
                            <i class="fas fa-user"></i>
                        </div>
                        <div class="participant-info">
                            <div class="participant-name">陈经理</div>
                            <div class="participant-details">手机号: 13600136666 | 公司: 东莞材料供应商</div>
                        </div>
                        <div class="participant-time">2024-01-17 10:15</div>
                    </div>
                    
                    <div class="participant-item">
                        <div class="participant-avatar">
                            <i class="fas fa-user"></i>
                        </div>
                        <div class="participant-info">
                            <div class="participant-name">刘总</div>
                            <div class="participant-details">手机号: 13500135555 | 公司: 广州光学材料厂</div>
                        </div>
                        <div class="participant-time">2024-01-17 15:45</div>
                    </div>
                    
                    <div class="participant-item">
                        <div class="participant-avatar">
                            <i class="fas fa-user"></i>
                        </div>
                        <div class="participant-info">
                            <div class="participant-name">赵经理</div>
                            <div class="participant-details">手机号: 13400134444 | 公司: 上海光学设备有限公司</div>
                        </div>
                        <div class="participant-time">2024-01-18 11:30</div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 底部操作栏 -->
        <div class="bottom-actions">
            <button class="btn btn-secondary" onclick="editGroup()">
                <i class="fas fa-edit"></i> 编辑拼单
            </button>
            <button class="btn btn-danger" onclick="exitGroup()">
                <i class="fas fa-sign-out-alt"></i> 退出拼单
            </button>
        </div>
        
        <!-- 底部导航 -->
        <div class="tabbar">
            <div class="tab-item">
                <i class="fas fa-home"></i>
                <span>首页</span>
            </div>
            <div class="tab-item">
                <i class="fas fa-search"></i>
                <span>求购</span>
            </div>
            <div class="tab-item">
                <i class="fas fa-plus-circle"></i>
                <span>发布</span>
            </div>
            <div class="tab-item">
                <i class="fas fa-comments"></i>
                <span>客服</span>
            </div>
            <div class="tab-item active">
                <i class="fas fa-user"></i>
                <span>我的</span>
            </div>
        </div>
    </div>
    
    <script>
        // 底部导航切换
        document.querySelectorAll('.tab-item').forEach(item => {
            item.addEventListener('click', function() {
                document.querySelectorAll('.tab-item').forEach(t => t.classList.remove('active'));
                this.classList.add('active');
            });
        });
        
        // 查看技术参数按钮
        document.querySelector('.tech-params-btn').addEventListener('click', function() {
            alert('查看技术参数...');
        });
        
        // 编辑拼单
        function editGroup() {
            alert('编辑拼单功能开发中...');
        }
        
        // 退出拼单
        function exitGroup() {
            const result = confirm('确定要退出这个拼单吗？退出后将无法参与该拼单。\n\n点击"确定"完成退出，点击"取消"取消操作。');
            if (result) {
                alert('已退出拼单');
            } else {
                alert('操作已取消');
            }
        }
    </script>
</body>
</html>











